package com.czkt.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.czkt.mapper.SysRightMapper;
import com.czkt.pojo.SysRight;
import com.czkt.service.ISysRightService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author liu
 * @since 2024-06-21
 */
@Service
public class SysRightServiceImpl extends ServiceImpl<SysRightMapper, SysRight> implements ISysRightService {

   public List<SysRight> getListByRoleId(long roleId){
        return baseMapper.getListByRoleId(roleId);
    }
}
